<script>
    if (localStorage.getItem('token') === null) {
        location.href = '/login.html';
    }
</script>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>layout 后台大布局 - Layui</title>
    <link rel="stylesheet" href="/admin/assets/lib/layui/css/layui.css">
</head>

<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <div class="layui-logo">后台管理系统</div>
            <!-- 头部区域（可配合layui已有的水平导航） -->

            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <img src="http://t.cn/RCzsdCq" class="layui-nav-img"> 贤心
                    </a>
                </li>
                <li class="layui-nav-item"><a href="javascript:;" id="exit">退出</a></li>
            </ul>
        </div>

        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <ul class="layui-nav layui-nav-tree" lay-filter="test">
                    <li class="layui-nav-item layui-bg-green"><a href="">首页</a>
                    </li>
                    <li class="layui-nav-item layui-nav-itemed">
                        <a class="" href="javascript:;">用户管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="/admin/用户列表.html" target="fm">用户列表</a></dd>
                            <dd><a href="/admin/addUser/AddUser.html" target="fm">添加用户</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">资源管理</a>
                        <dl class="layui-nav-child">
                            <dd><a href="/admin/link/link.html" target="fm">友情链接</a></dd>
                            <dd><a href="/admin/slideshow.html" target="fm">轮播图</a></dd>
                            <dd><a href="/admin/comment.html" target="fm">评论管理</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>
        </div>

        <div class="layui-body" style="bottom: 0px;">
            <iframe src="/admin/assets/images/maoxiong.mp4?rel=0&amp;autoplay=1" frameborder="0"
                style="width: 100%; height: 100%;" name="fm"></iframe>
        </div>


    </div>
    <script src="/admin/assets/lib/layui/layui.all.js"></script>
    <script src="/admin/assets/lib/jquery.js"></script>
    <script src="/admin/assets/js/common.js"></script>
    <script src="/admin/assets/js/index.js"></script>

</body>

</html>